CFILE  =      sbalance.c \
		sbalgorithm.c \
		sbconf.c     \
		sbrbtree.c   \
		sbtimer.c    

HFILE  = sbalance.h \
		sbrbtree.h
CC = gcc -g 
.SUFFIXES:.c
.c.o    :
	$(CC) $(CFLAGS) -c $< $(IFLAGS)

c_FILE_o = $(CFILE:.c=.o)

all: $(c_FILE_o) sbalance.h sbrbtree.h 
	gcc -o sb $(c_FILE_o) -g

rbtree: sbrbtree.c sbrbtree.h test_rbtree.c
	gcc -o rbtree sbrbtree.c test_rbtree.c -g

clean:
	rm -rf *.o sb rbtree
